/**
 * MPlayRunnable.java
 * 版权所有(C) 2014
 * 创建者:cuiran 2014-6-18 下午1:55:14
 */
package com.ghyf.mplay;

/**
 *  线程 抽象类
 * @author cuiran
 * @version 1.0.0
 */
public abstract class MPlayRunnable implements Runnable {
	
	private final Object user;

	 
	public MPlayRunnable() {
		super();
		this.user = null;
	}
	public MPlayRunnable(Object user) {
		super();
		this.user = user;
	}
	public abstract void run(Object o);

	/* (non-Javadoc)
	 * @see java.lang.Runnable#run()
	 */
	@Override
	public void run() {
		
		run(user);
		
	}

}
